<template>
	<view class="container">
			信息
			<button @click="getRes">发送请求</button>
			
							
							<navigator url="/pages/us/us" open-type="switchTab" hover-class="other-navigator-hover">
								<button type="default">跳转tab页面</button>
							</navigator>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				// navigator 路由跳转
			}
		},
		methods:{
			getRes(){
				uni.request({
					url:'',
					method:'get',//默认get
					success: function(res) {
							console.log(res.data);
						}
				})
			}
		}
	}
</script>

<style>
</style>